package com.ruoyi.media.publishRecord.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 视频号发布记录业务对象 media_publish_record
 *
 * @author dqw
 * @date 2023-05-14
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MediaPublishRecordBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;


    /**
     * 发布时间
     */
    //@NotNull(message = "发布时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String publishTime;

    /**
     * 发布状态
     */
    //@NotBlank(message = "发布状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer publishStatus;

    /**
     * 账号昵称
     */
    //@NotBlank(message = "账号昵称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String nickname;

    /**
     * 封面链接
     */
    //@NotBlank(message = "封面链接不能为空", groups = { AddGroup.class, EditGroup.class })
    private String coverLink;

    /**
     * 短标题
     */
    //@NotBlank(message = "短标题不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shortTitle;

    /**
     * 地理位置
     */
    //@NotBlank(message = "地理位置不能为空", groups = { AddGroup.class, EditGroup.class })
    private String cityIp;

    /**
     * 标题/描述
     */
    //@NotBlank(message = "标题/描述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String description;

    /**
     * 备注
     */
    //@NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 平台代码
     */
    //@NotBlank(message = "平台代码", groups = { AddGroup.class, EditGroup.class })
    private String platformCode;

    /**
     * 账号关联id
     */
    //@NotBlank(message = "账号关联id", groups = { AddGroup.class, EditGroup.class })
    private String accountId;

    /**
     * 文件路径
     */
    private String filePath;
    /**
     * 是否原创
     */
    private Integer mode;
    /**
     * 发布时间
     */
    private String effectiveTime;
    /**
     * 头像链接
     */
    private String headImgUrl;
    /**
     * 错误日志
     */
    private String errLog;
    /**
     * 是否删除
     */
    private Integer delFlag;
    /**
     * 外部链接
     */
    private String link;
    /**
     * 视频预览链接
     */
    private String videoLink;
    /**
     * 模板发布参数
     */
    private List<MediaPublishRecordBo> mediaPublishRecordBos;











}
